package com.alcatel_lucent.osp.model;

import javax.persistence.*;

/**
 * Created with IntelliJ IDEA.
 * User: Guoshun Wu
 * Date: 13-9-1
 * Time: 下午11:34
 */

@Entity
@Table(name = "PAGE")
public class Page {

    @EmbeddedId
    PageId id;
    private String name = "defaultNew";
    private String description="This is the default new page.";

    public PageId getId() {
        return id;
    }

    public void setId(PageId id) {
        this.id = id;
    }

    public Page() {
    }

    public Page(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

}
